import Layout from '@/page/index/index.vue';
import Store from '@/store/';

export default [
  {
    path: '/wel',
    component: () =>
      Store.getters.isMacOs ? import('@/mac/index.vue') : import('@/page/index/index.vue'),
    redirect: '/wel/index',
    children: [
      {
        path: 'index',
        name: '首页',
        meta: {
          i18n: 'dashboard',
        },
        component: () => import(/* webpackChunkName: "views" */ '@/views/wel/index.vue'),
      },
      {
        path: 'dashboard',
        name: '控制台',
        meta: {
          i18n: 'dashboard',
          menu: false,
        },
        component: () => import(/* webpackChunkName: "views" */ '@/views/wel/dashboard.vue'),
      },
    ],
  },
  {
    path: '/medicalRecords',
    component: Layout,
    redirect: '/medicalRecords/overview',
    children: [
      {
        path: 'overview',
        name: '病案综合概览',
        meta: {
          i18n: 'medicalRecordsOverview',
        },
        component: () => import(/* webpackChunkName: "views" */ '@/views/dip/medicalRecords/overview.vue'),
      },
      {
        path: 'query',
        name: '病案综合查询',
        meta: {
          i18n: 'medicalRecordsQuery',
        },
        component: () => import('@/views/dip/medicalRecords/recordsQuery.vue'),
      },

      {
        path: 'quality_control/statistics',
        name: '病案质控统计',
        meta: {
          i18n: 'quality_control/statistics',
        },
        component: () => import('@/views/dip/medicalRecords/qualityControlStatistics.vue'),
      },

      
      
    ],
  },
];